import axiosInstance from './axiso';
export function menuListTreeTest(data: any) {
  return axiosInstance.post<any>('/menu/listTree', data);
}

export function menuListTest(data: any) {
  return axiosInstance.post<any>('/menu/list', data);
}

export function add(data: any) {
  return axiosInstance.post<any>('/menu/add', data);
}

export function edit(data: any) {
  return axiosInstance.post<any>('/menu/edit', data);
}


export function del(data: any) {
  return axiosInstance.post<any>('/menu/del', data);
}